// import { FC } from 'react';
import { Button } from 'antd';
// import img from '../../../images/a.png';

interface PropType {
  count: number;
  name?: string;
}

const Child = ({ count }: PropType) => {
  console.log(count);
  return (
    <>
      <div>child</div>
      <Button>btn</Button>
      <img src={require('../../../images/a.png')} alt="" />
    </>
  );
};

// const Child: FC<PropType> = (props) => {
//   console.log(props);
//   return <div>child</div>;
// };

export default Child;
